// pages/step2/step2.js
var app = getApp()
var WxParse = require('../../wxParse/wxParse.js');
Page({

  /**
   * 页面的初始数据
   */
  data: {

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    var that = this;
    app.getGoodData(66582, function (res) {
      console.log(res)
      var article = res.goods_content;
      WxParse.wxParse('article', 'html', article, that, 48);
    })


  },
  tonext() {
    wx.navigateTo({
      url: '../step3/step3',
    })
  },

})